package com.lqzs.businessmanager.bean.request

import com.lqzs.businessmanager.Config
import com.lqzs.businessmanager.bean.EleInfo

class EleAddReviewRequest(info: EleInfo) {

    //分店ID
    var branch_id:String?= null
    var headImg_infos:String?=null //用户头像
    var reviewer:String?="" //用户名称
    var fraction_infos:String?="" //分数满意度 包含味道和包装
    var review_content:String?="" //用户评价 有则上传 没有则不上传
    var order_info:String?="" //订单详情
    var recommend:String?=""//顾客推荐
    var review_date:String?="" //用户评价时间 有则上传 没有则不上传
    var reply_content:String?="" //商家回复
    var reply_time:String?="" //商家回复时间

    init {
        headImg_infos = info.headImg
        reviewer = info.userName
        fraction_infos = info.fraction
        review_content = info.chaseComments
        order_info = info.orderDetails
        recommend = info.orderRecommend
        review_date = info.chaseCommentsTime
        reply_content = info.merchantReplied
        reply_time = info.merchantRepliedTime
    }
}